<!---
	Title:		Elders Program Database provider form
	Author:		Bruce Frick
	Purpose:	.
--->

<cfset BASE = CreateObject("component", "cfc.base") />

<cfoutput>
<!---HTML header, css links, js links, and page title--->
#BASE.htmlHeader("","css/style.css", "Elders Program - Provider Information")#
<!---HTML header, css links, js links, and page title--->

<cfform id="myform">

<table width="60%" cellpadding="1" cellspacing="0">
	<tbody class="header_title">
        <tr>
            <td colspan="2">
            	<h2 id="dummy">Providers</h2>
            </td>
        </tr>
    </tbody>
</table>
<table width="99%" cellpadding="2" cellspacing="0" id="provider" >
	<tr>
    	<td colspan="6" class="black_spacer">Provider Information</td>
    </tr>
    <tbody>
    	<tr>
        	<th>RosettaID</th>
        	<th>Provider Name</th>
            <th>Email</th>
            <th>Login</th>
            <th>Company</th>
            <th>Gender</th>
        </tr>
        <cfset QUERIES.providers = CreateObject("component", "cfc.utilities").funcGetDLProviders() />
        <cfloop from="1" to="#ArrayLen(QUERIES.providers)#" index="i">
            <tr>
            	<td>#QUERIES.providers[i].RosettaID#</td>
                <td>#QUERIES.providers[i].FirstName# #QUERIES.providers[i].LastName#</td>
                <td>#QUERIES.providers[i].Email#</td>
                <td>#QUERIES.providers[i].ExtendedLogin#</td>
                <td>#QUERIES.providers[i].Company#</td>
                <td>#QUERIES.providers[i].Gender#</td>
            </tr>
        </cfloop>
    </tbody>
</table>

</cfform>

<!---HTML footer, closes html and body tags.  Any footer info goes here--->
#BASE.htmlFooter()#
<!---HTML footer, closes html and body tags.  Any footer info goes here--->
</cfoutput>